/**
 *
 */
package com.zhuoyue.elmt.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.eit.eitsite.common.persistence.Page;
import com.eit.eitsite.common.service.CrudService;
import com.zhuoyue.elmt.entity.MaintenanceRecord;
import com.zhuoyue.elmt.dao.MaintenanceRecordDao;

/**
 * 电梯维保记录Service
 * @author chenhao
 * @version 2016-09-07
 */
@Service
@Transactional(readOnly = true)
public class MaintenanceRecordService extends CrudService<MaintenanceRecordDao, MaintenanceRecord> {

	public MaintenanceRecord get(String id) {
		return super.get(id);
	}
	
	public List<MaintenanceRecord> findList(MaintenanceRecord maintenanceRecord) {
		return super.findList(maintenanceRecord);
	}
	
	public Page<MaintenanceRecord> findPage(Page<MaintenanceRecord> page, MaintenanceRecord maintenanceRecord) {
		return super.findPage(page, maintenanceRecord);
	}
	
	@Transactional(readOnly = false)
	public void save(MaintenanceRecord maintenanceRecord) {
		super.save(maintenanceRecord);
	}
	
	@Transactional(readOnly = false)
	public void delete(MaintenanceRecord maintenanceRecord) {
		super.delete(maintenanceRecord);
	}
	
}